package com.qimou.iems.service;

import com.qimou.iems.entity.City;
import com.qimou.iems.mapper.ICityMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Eric Xie on 2017/7/12 0012.
 */
public interface CityService {


    /**
     * 通过城市ID、城市级别  查询该城市Id下 所有级别的城市
     * @param cityId
     * @param levelType
     * @return
     */
     List<City> queryCityByParentId(Integer cityId, Integer levelType);

     List<City> queryAllCity() ;

     City queryCity(Integer city);

    /**
     * 查询城市的  市级ID  和 省级Id
     * @param id
     * @return
     */
     City getThreeId(Integer id);

}
